package com.longma.server.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.longma.server.entity.OperationLog;
import com.longma.server.pojo.dto.AdvanceQueryConditionDTO;
import com.longma.server.pojo.dto.OperationLogDTO;
import com.longma.server.pojo.dto.OperationLogUpdateDTO;

import java.util.List;

public interface IOperationLogService {
    OperationLog addOperationLog(OperationLogDTO operationLogDTO);
    boolean deleteOperationLogByIds(List<Integer> ids);
    boolean deleteOperationLogById(Integer id);
    IPage<OperationLog> getOperationLogByPage(Long pageNum, Long pageSize, Boolean all, List<AdvanceQueryConditionDTO> conditions);
    OperationLog updateOperationLog(OperationLogUpdateDTO updateRequestDTO);
}
